package day05;

public class Test04 {
    public static void main(String[] args) {
        for (int year=2024;year<=2048;year++){
            if ((year%4==0 &&year%100!=0) || (year%400==0)){
                System.out.println(year+"为闰年");
            }

        }
    }
}
